package com.tosit.bmx.mapper;

import com.tosit.bmx.domian.Online;
import com.tosit.bmx.domian.OnlineExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface OnlineMapper {
    long countByExample(OnlineExample example);

    int deleteByExample(OnlineExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Online record);

    int insertSelective(Online record);

    List<Online> selectByExampleWithBLOBs(OnlineExample example);

    List<Online> selectByExample(OnlineExample example);

    Online selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Online record, @Param("example") OnlineExample example);

    int updateByExampleWithBLOBs(@Param("record") Online record, @Param("example") OnlineExample example);

    int updateByExample(@Param("record") Online record, @Param("example") OnlineExample example);

    int updateByPrimaryKeySelective(Online record);

    int updateByPrimaryKeyWithBLOBs(Online record);

    int updateByPrimaryKey(Online record);

    List<Online> selects();

    Integer deletes(@Param("ids") List<Integer> ids);
}